{include file="public/header" select="0" /}
<body>
<div class="title bgc">
    <i class="layui-icon layui-icon-left" onclick="goBack()"></i>
    {$title}明细
</div>
<ul class="account-list tpl_list">

</ul>

<script id="template" type="text/html">
    {{# for(var i=0;i<d.data.length ;i++){ }}
    <li>
        <div>
            {{# if(d.data[i].fx == '+'){ }}
            <p style="color: #27AE60">+<span>{{d.data[i].amount}}</span></p>
            {{# }else { }}
            <p>-<span>{{d.data[i].amount}}</span></p>
            {{# } }}
            <p style="color:#999">余额：{{d.data[i].after}}</p>
            <p>{{d.data[i].create_time}}</p>
        </div>
        <div class="rmk">{{d.data[i].intro}}</div>
    </li>
    {{# } }}
</script>
</body>
{include file="public/footer" select="1" /}
<script>
    $(function () {
        getFlow('{$type}', "{:url('account/getList')}");
    })

</script>